-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nlohmann_json: small improvements #13120
nlohmann_json: small improvements #13120
Conversation
SpaceIm
commented
Sep 23, 2022
- avoid to propagate empty bin/lib/res dirs
- check min cppstd
- I've read the guidelines for contributing.
- I've followed the PEP8 style guides for Python code in the recipes.
- I've used the latest Conan client version.
- I've tried at least one configuration locally with the conan-center hook activated.
This comment has been minimized.
This comment has been minimized.
All green in build 2 (
|
def generate(self): | ||
pass | ||
def validate(self): | ||
if self.settings.compiler.get_safe("cppstd"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be self.info.settings.compiler
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but can't work in conan v1 if there is self.info.clear() in package_id()
* tiny improvements * Update recipes/nlohmann_json/all/conanfile.py
* tiny improvements * Update recipes/nlohmann_json/all/conanfile.py